home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-11-18 | 26.2 KB | 37 lines | [TEXT/SPM ] |
- /*
- IC Call Glue.c
-
- Code to call the IC component.
-
- The glue comes in two forms, PPC only and PPC/68k glue.
-
- The PPC/68k glue provides the ICStart and ICStop routines for starting
- and stopping the IC Component.
-
- The PPC glue provides the PPC code for the component interface (see note below).
-
- Important Note:
-
- This information (probably ;-) was derived by examining the tech note
- "QT 05 - Component Manager version 3.0" which describes in detail how
- to call a component from PPC code. Before modifying any of this code,
- you should take a look at that tech note.
-
- The author of this code was not mentioned before I (dhn) modified it. Whoever
- it is deserves most of the credit.
- */
-
- #include <Types.h>
- #include <MixedMode.h>
- #include <Components.h>
-
- #include "IC Types.h"
- #include "IC Component API.h"
-
- /*
- ICCStart
-
- Routine to initialize the IC component. Will ensure the component manager
- is available, open a default instance of the IC component, and start it up.
- */
- pascal ICError ICCStart(in